package hibernate;

/**
 * JointRequest entity. @author MyEclipse Persistence Tools
 */

public class JointRequest implements java.io.Serializable {

	// Fields

	private String jointId;
	private UserInfo userInfoByRequestUserName;
	private UserInfo userInfoByResponseUserName;
	private String jointState;

	// Constructors

	/** default constructor */
	public JointRequest() {
	}

	/** minimal constructor */
	public JointRequest(String jointId, String jointState) {
		this.jointId = jointId;
		this.jointState = jointState;
	}

	/** full constructor */
	public JointRequest(String jointId, UserInfo userInfoByRequestUserName,
			UserInfo userInfoByResponseUserName, String jointState) {
		this.jointId = jointId;
		this.userInfoByRequestUserName = userInfoByRequestUserName;
		this.userInfoByResponseUserName = userInfoByResponseUserName;
		this.jointState = jointState;
	}

	// Property accessors

	public String getJointId() {
		return this.jointId;
	}

	public void setJointId(String jointId) {
		this.jointId = jointId;
	}

	public UserInfo getUserInfoByRequestUserName() {
		return this.userInfoByRequestUserName;
	}

	public void setUserInfoByRequestUserName(UserInfo userInfoByRequestUserName) {
		this.userInfoByRequestUserName = userInfoByRequestUserName;
	}

	public UserInfo getUserInfoByResponseUserName() {
		return this.userInfoByResponseUserName;
	}

	public void setUserInfoByResponseUserName(
			UserInfo userInfoByResponseUserName) {
		this.userInfoByResponseUserName = userInfoByResponseUserName;
	}

	public String getJointState() {
		return this.jointState;
	}

	public void setJointState(String jointState) {
		this.jointState = jointState;
	}

}